package com.feng.exer;

public class DefineNode {
    public int id;
    public String name;
    public String password;
    //定义指向下一个结点
    public DefineNode next;

    public DefineNode() {
    }

    @Override
    public String toString() {
        return "DefineNode{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public DefineNode(int id, String name, String password) {
        this.id = id;
        this.name = name;
        this.password = password;
    }
}
